package com.yun.zf.admin.service;

import com.baomidou.mybatisplus.extension.service.IService;
import com.yun.zf.common.admin.dto.PerformanceDto;
import com.yun.zf.common.app.domain.ZfPerformance;
import com.yun.zf.common.admin.model.order.PerformanceMo;

import java.math.BigDecimal;
import java.util.List;

/**
 * <p>
 * 业绩分配表明细 服务类
 * </p>
 *
 * @author cj
 * @since 2021-04-07
 */
public interface ZfPerformanceService extends IService<ZfPerformance> {

    public  Boolean addPerformance(Long provCode, Long cityCode, Long orderId, BigDecimal amount,List<PerformanceMo> performanceMos);

    public List<PerformanceDto> getPerformances(Long provCode, Long cityCode, Long orderId);

    public List<PerformanceMo> bringPerformances(Long provCode, Long cityCode, Long orderId);

    int delPerFormance(Long provCode, Long cityCode, Long orderId);
}
